#-*- Mode:Text; Tab-width:4 -*-
# Makefile for sockets.
#                                                                          
#                                                                          
#                       RESTRICTED RIGHTS LEGEND                           
#                                                                          
#  Use, duplication, or disclosure by the Government is subject to         
#  restrictions as set forth in subdivision (c)(1)(ii) of the Rights in    
#  Technical Data and Computer Software clause at 252.227-7013.            
#                                                                          
#                     TEXAS INSTRUMENTS INCORPORATED.                      
#                             P.O. BOX 149149                              
#                          AUSTIN, TEXAS 78714-9149                        
#                               MS 2151                                    
#                                                                          
#   Copyright (C) 1989,   1987,1988,1989,1990 Texas Instruments Incorporated.          
#   All rights reserved.                                                   
#                                                          
# 11/30/89 sbw: added mxcincludes.
rpc-includes = -i {mxcincludes} -i {cincludes} -i {rpc} -i {driver} -i {utility} -i {sock} -i {addin-comm} -i {maclispm} -i {bsd}sys: -i {bsd}netinet:
rpc-objects = auth_none.c.o    
	auth_unix.c.o    
	clnt_mac.c.o     
	clnt_perror.c.o  
	clnt_raw.c.o     
	clnt_simple.c.o  
	getrpc.c.o       
	pmap_clnt.c.o    
	pmap_maps.c.o    
	pmap_port.c.o    
	pmap_prot.c.o    
	pmap_rmt.c.o     
    portmap.c.o      
	rpc_prot.c.o     
	svc.c.o          
	svc_auth.c.o     
	svc_mac.c.o      
	svc_raw.c.o      
	svc_simple.c.o   
	svc_unix.c.o     
	unix_prot.c.o    
	xdr.c.o          
	xdr_array.c.o    
	xdr_float.c.o    
	xdr_mem.c.o      
	xdr_rec.c.o      
	xdr_ref.c.o      
	xdr_stdio.c.o    
	mx-interface.c.o

# Rule Customization
COptions = {CFlags} {rpc-includes}


rpc.o		   	{rpc-objects}
	lib -d -sn Main=rpc -p -o rpc.o {rpc-objects}

# Copy the include files to the library.
rpc.o  {mx-lib}auth.h {mx-lib}auth_unix.h {mx-lib}clnt.h {mx-lib}pmap_clnt.h {mx-lib}pmap_prot.h 
         {mx-lib}portmap.h {mx-lib}rpc.h {mx-lib}rpc_msg.h {mx-lib}svc.h {mx-lib}svc_auth.h {mx-lib}rpc-types.h {mx-lib}xdr.h

{mx-lib}auth.h  auth.h
	duplicate auth.h {mx-lib}auth.h -y

{mx-lib}auth_unix.h  auth_unix.h
	duplicate auth_unix.h {mx-lib}auth_unix.h -y

{mx-lib}clnt.h  clnt.h
	duplicate clnt.h {mx-lib}clnt.h  -y

{mx-lib}pmap_clnt.h  pmap_clnt.h
	duplicate pmap_clnt.h {mx-lib}pmap_clnt.h -y

{mx-lib}pmap_prot.h  pmap_prot.h
	duplicate pmap_prot.h {mx-lib}pmap_prot.h  -y

{mx-lib}portmap.h  portmap.h
	duplicate portmap.h {mx-lib}portmap.h  -y

{mx-lib}rpc.h  rpc.h
	duplicate rpc.h {mx-lib}rpc.h  -y

{mx-lib}rpc_msg.h  rpc_msg.h
	duplicate rpc_msg.h {mx-lib}rpc_msg.h  -y

{mx-lib}svc.h  svc.h
	duplicate svc.h {mx-lib}svc.h -y

{mx-lib}svc_auth.h  svc_auth.h
	duplicate svc_auth.h {mx-lib}svc_auth.h -y

{mx-lib}rpc-types.h  rpc-types.h
	duplicate rpc-types.h {mx-lib}rpc-types.h -y

{mx-lib}xdr.h  xdr.h
	duplicate xdr.h {mx-lib}xdr.h -y





